var mongoose = require("./db");

//试题库数据表
var Examine = mongoose.model('examines', {
	owner: String, //知识点id
	Content: String, // 题目名称,题干
	QuestionType: Number, //题目类型(1单选、2多选、3判断、4填空、5问答、6连线（匹配）、7排序)
	Tip: String, //答案解析
	QScore: Number, //题目分值(分数)
	QSerialnumber: Number, //试题序号
	QuestionOptionList: [{
		Id: String, //选项ID
		Content: String, // 选项内容
		IfRightAnswer: Boolean, //选项是否正确答案
		OrderNum: Number, //选项的序号
	}], //选项数组
});

module.exports = Examine;